package com.core.dao.mybatismysql;

import com.core.bean.Online;

public class OnlineDaoRedis extends  OnlineDaoSub {
    @Override
    public int add(Online entity) throws Exception {
        //redis....
        return super.add(entity);
    }

    @Override
    public int modify(Online entity) throws Exception {
        //redis...
        return super.modify(entity);
    }

    @Override
    public Online getByUserName(String name) throws Exception {
       // return super.getByUserName(name);
        return null;
    }

    @Override
    public Online queryByToken(String token) throws Exception {
        //return super.queryByToken(token);
        return null;
    }

    @Override
    public int remove(String id) throws Exception {
        //redis...
        return super.remove(id);
    }

    @Override
    public Online findEntityById(String id) throws Exception {
        //return super.findEntityById(id);
        return null;
    }
}
